﻿using B.S.Business.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace B.S.Business.Write.API.Applications.Command.SupplierCommand
{
    public class SupplierUpdCommand : IRequest<ApiResult<object>>
    {
        /// <summary>
        /// 供应商主键
        /// </summary>
        [Key]
        public int SupplierId { get; set; }
        /// <summary>
        /// 供应商编号
        /// </summary>
        public string SupplierNumber { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 类型
        /// </summary>
        public string OrderAmount { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string SupplierPhone { get; set; }
        /// <summary>
        /// 传真
        /// </summary>
        public string ChuanZhen { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string SupplierNamer { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string SupplierAdd { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime SupplierTime { get; set; }
    }
}
